package top.healthylife.gateway.platform.baihang.dto.rankauthentication.face0004.req;

import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.dto.request.req.ApiReqDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 百行-公安四要素及活体认证
 * @author gwx
 * @date 2021/9/9
 */
@Data
@Accessors(chain = true)
@ApiModel("公安四要素及活体认证")
public class BHReqPSFourLivBodyDto extends ApiReqDto {

    @ApiField(value = "证件类型" , necessity = true)
    @ApiModelProperty(value = "证件类型" , example = "00(表示居民身份证18位)" , required = true)
    private String certType;

    @ApiField(value = "客户居民身份证号" , necessity = true)
    @ApiModelProperty(value = "客户居民身份证号" , example = "500381199811242123" , required = true)
    private String certNo;

    @ApiField(value = "姓名" , necessity = true)
    @ApiModelProperty(value = "姓名" , example = "张三[2,30]" , required = true)
    private String name;

    @ApiField(value = "有效期起始日期" , necessity = true)
    @ApiModelProperty(value = "有效期起始日期" , example = "YYYYMMDD" , required = true)
    private String validStartDate;

    @ApiField(value = "有效期截止日期" , necessity = true)
    @ApiModelProperty(value = "有效期截止日期" , example = "YYYYMMDD,长期需转化为00000000" , required = true)
    private String validEndDate;

    @ApiField(value = "人像照片" , necessity = true)
    @ApiModelProperty(value = "人像照片" , example = "1. 需校验图片为 base64 编码,2. 需校验图片大于 5K 小于 40K,3. 需校验为 JPEG/JPG 格式,4. 该图片为活体检测控件返回" , required = true)
    private String imageData;


}
